home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #9
/
Amiga Plus CD - 2004 - No. 09.iso
/
amigaplus
/
tools
/
amigaos4_only
/
ifxlite
/
imagefx3
/
rexx
/
halveanim.ifx
< prev
next >
Wrap
Text File
|
2004-08-03
|
770b
|
48 lines
/*
* $VER: Halve 2.0.0 (22.7.94)
*
* Arexx program for the ImageFX image processing system.
* Written by Thomas Krehbiel
*
* Revised for ImageFX release 2.0.
*
* Halve the width and height of an animation.
*
*/
OPTIONS RESULTS
SIGNAL ON BREAK_C
RequestFile '"Input animation:"' /* Get source anim name */
IF rc ~= 0 THEN EXIT
input = result
RequestFile '"Output animation:"' /* Get ouput anim name */
IF rc ~= 0 THEN EXIT
output = result
FRAME = 1
DO FOREVER
Message 'Frame' frame
Render Close
LoadBuffer input frame
IF rc ~= 0 THEN LEAVE
Redraw Off
Scale Percent 50 50
Render Go
SaveRenderedAs ANIM output APPEND KEEP
Redraw On
frame = frame + 1
END
BREAK_C:
SaveRenderedAs ANIM output CLOSE
EXIT